<template>
  <div>
    <el-tabs class="tabs" v-model="activeName">
      <!-- 平台端菜单 -->
      <el-tab-pane :label="this.$i18n.t('sys.platformMenu')" name="platformMenu">
        <platformMenu v-if="activeName === 'platformMenu'"></platformMenu>
      </el-tab-pane>
      <!-- 连锁承租商端菜单 -->
      <el-tab-pane label="连锁承租商端菜单" name="brandMenu">
        <brandMenu v-if="activeName === 'brandMenu'"></brandMenu>
      </el-tab-pane>
      <!-- 自营承租商端菜单 -->
      <el-tab-pane label="自营承租商端菜单" name="selfBrandMenu">
        <selfBrandMenu v-if="activeName === 'selfBrandMenu'"></selfBrandMenu>
      </el-tab-pane>
      <!-- 门店端菜单 -->
      <el-tab-pane label="门店端菜单" name="shopMenu">
        <shopMenu v-if="activeName === 'shopMenu'"></shopMenu>
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
import shopMenu from './shopMenu.vue'
import platformMenu from './menu.vue'
import brandMenu from './brandMenu.vue'
import selfBrandMenu from './selfBrandMenu.vue'
export default {
  data () {
    return {
      showTab: true,
      activeName: 'platformMenu'
    }
  },
  components: {
    shopMenu,
    platformMenu,
    brandMenu,
    selfBrandMenu
  },
  created () {
  },
  mounted () {
  },
  methods: {
  }
}
</script>
